add support for chef_environment
add chef_environment test