Random number and test added