MULE-6926: fix flaky tests

_ Marking some AJAX tests as flaky
(cherry picked from commit fa910c4)