test http server for json