Updated tests to check for JSON.