NXP-10053 Add unit test to check maxOccurs management