[ValidatorBundle] Added a unit test for issue #7629

I was unable to reproduce the problem; here's the unit test for this scenario.