MULE-6926: Fix flaky test
MULE-7194: fix test with bad assertions