Implemented npm test.