Added jsonRequest in test client