Add basic unit test of Server