Adding missing records for invoicePDF to work correctly after install on CE edition. (cherry picked from commit 39ad2ab)
Test fix

Resetting aModuleFiles before runnig test, as PE and CE has aModuleFiles set due to inclusion of invoicePDF module.
(cherry picked from commit 370694d)