add unittest for environment class