init
add environment tests
add updateEnvironment