tests for get requests with json format