Hooks examples

refs #140
You should use `bracket` from `Control.Exception` here, so that `stopServer` is always called, even if the spec terminates with an exception.