Fix tests
Properly reset spooky object on test failure