Added tests around the server class