fix npm run test failed (#146).