Invoice tests and stubs