[fix] make npm test not throw an error