Move nested hook handling logic to a better place.
End `assert_eq!` call with a semicolon. Everything works now. See #10.