add npm test script.