implemented print function for invoices, tried to implement testcasese with TestFX and JUnit