test_randomness.py added in examples