test server side hooks