Added rng tests