working on card tests
merged and corrected card class for type capitalization