added _testHooks command to testing_only_commands #527