added tests for card equals