New RandomNumber class.
Fixed RandomNumber tests.