uses iteritems on check_test_env in check_test_complete