Fix test use with npm run-script test & coverage