Changed the test and hand.rb as it was throwing errors