impl: more logging
cfg: run tests through npm test