using (pseudo) random numbers for the test