Testing min and max occurance attributes on sequences