renamed a test
added isTestModeEnabled method, changed the tests
added isTestModeEnabled method, changed the tests