JUnit test HyperGateServer + HyperGateClient - for JSON case