FIX: broken tests based on rng