Checks and test for redundant minOccurs/maxOccurs in schema