fix ajax-related tests by adding in waiting for ajax and fixing deform tinymce-related thingy