Add some unit testing for card matching when playing a card.
A little bit of clean up.