added environment tests