added testcase for Invoice