Added tests for Card class