add tests for card and deck