adding tests for environment