Refactoring of invoice_texts tests.