integration tests for hook failures