Rewrite the server test.