Simplified the onCardPlayed signature
Added unit tests for the dealer