add mock server for testing client code