generalized Card and added tests for customer and recipient cards

R? @michelle @metcalf