feat(card): add unit tests