Adding test for unique random patterns