test for package.json and component.json