Added: tests for server module.