Add tests for the add credit card api call