added more tests for server class