testing that invoking methods on an instance of SingleThreadedRandom on a different thread throws an exception.
testing that invoking methods on an instance of SingleThreadedRandom on a different thread throws an exception.