new unit test for required restriccted and multiple values for XML