testing validates uniqueness with and without the primary key index