Association of invoices and template through letters set up. Update of necessary tests.