MULE-7331: Adding test cases to validate scenario. Actual issue was fixed by MULE-7329