implement test produce random number