Add basic tests for server API