Fix Functional Tests for InvoicesController