added random number test