Add passthrough mode and increase test coverage.

- Add istanbul for test coverage.