card tests for garbage inputs