only npm install if has package.json
imporove code coverage