[fix] Don't assume that component is globally installed
[minor] implement `npm test` as test command