added test for uniqueness validator