renamed TESTS_ENVIRONMENT to AM_TESTS_ENVIRONMENT, added missing semicolon