[fix] add an npm test script