Component fix

[minor] implement `npm test` as test command