@Test
public void testInvoiceReportRaw() throws Exception {
ReportBuilder reportBuilder = new ReportBuilder();
ReportTemplateBuilder reportTemplateBuilder = new ReportTemplateBuilder()
.documentPath("./modules/core/test/sample/invoice/invoice.docx")
.documentName("invoice.docx")
.outputType(ReportOutputType.docx)
.readFileFromPath();
reportBuilder.template(reportTemplateBuilder.build());
BandBuilder bandBuilder = new BandBuilder();
ReportBand main= bandBuilder.name("Main").query("Main", "return [\n" +
" [\n" +
" 'invoiceNumber':99987,\n" +
" 'client' : 'Google Inc.',\n" +