rspec tests added for the hands rank