refactoring package.json for code coverage