More tests added into rand_test unit.