added and tested RandomTester