Added test routine for RandomizedQueue