generalized Card and added tests for customer and recipient cards