Finally add coverage from invoker tests

Basically just applied the workaround for [travis-ci #1689](https://github.com/travis-ci/travis-ci/issues/1689).