Fixed errors in rand_test