Added tests for Card.hashCode().