Remove some hooks on TestingEnvironment.addHooks.