tests for server