The same function app should not have code for test and production