Add tests against server.go