Allow tests to reset bottle hooks on teardown

This avoids polluting other tests that might invoke the installer, thus
executing any registered hooks.