added min/max length and tests for uniqueItems