Refactored ajaxTest for easier usage.
Further simplified the usage of ajax async tests via the new AjaxSpec class