added test cases for card and deck