Create a mock server for testing.