testing JsonHTTPRequest. 2 tests failing