add modules, fix an issue when testing a module is installed