Add rspec test for string_rand()