make npm test script cleaner