MULE-7463: Fix logic error in test which was being camuflaged as flackyn...

...ess