Rewrote tests for new sort_hand.