Initial refactoring of invoice tests
Merge remote-tracking branch 'origin/testinvoice' into meter-as-osgi-bundle