Added json request/response tests.