Shamelessly increase test coverage.
Support both devDeps and regular. Refactor to make it possible to
`require'.