use random number to test results