move Server to json-based testing