Generating Invoices and Tests for those invoices and subscriptions

(not sure how Sravan's commits got in there)