hooks 0.3.0 breaks the tests