Adding test for unique patterns