Add npm test support