added tests for Card.java to achieve 97%