don't actually use main hooks in testing