added simple test case for environment building