more testing of random generation