Avoid one more test leak

Reset hooks in before as well so that every test runs clean