AJAX queries for civicrm/ajax/jqState were never executed causing JavaScript errors due to eval(data) expecting JSON but instead receiving HTML, why isn't there a simple curl based test that tries to retrieve JSON responses for calls to civicrm/ajax/jqState? This could have been easily caught with an automated test.