Read main js file of modules from the package.json and pass assertions