Add istanbul test coverage