implement test random number