Randomized collection tester inplace