Test for environment hash