Fix the way to souce setTestEnv after cupcake branch