changed environment in tests and add ApplicationId to base NCubeGroovyExpression