test for randomizer