add unit tests for internal functions isSimpleMandatoryTypeSpecification(...), isSimpleOptionalTypeSpecification(...) and isComplexTypeSpecification(...)