Added some test functionality to the server.