MULE-7331: Adding test cases to validate scenario. Actual issue was fixe...

...d by MULE-7329