Update method initModules
Added test for method 'initModules'