MULE-8028: Fixing test.
(cherry picked from commit d01ffa32878bf6e368c28af3cbf6eeae0a47bd80)