simplify rng tests