fix tests for shiny new and better conditional parsing engine. rename SwitchEnvironment to TransformTemplates