add environment value test

add test_environment.m