Add ability to test for jsonData in ajax request.