More tests for the server & hook handler.