randomized tests adapted to new input mechanism