added test for invoice charge