Some more tesst cases
Test test getEnvironment