add missing tests to Invoice
added missing tests to Invoice

Merge branch 'invoice'