Improve code coverage in non-api modules

We can still improve the code coverage by adding tests for the non-api modules:
- gh.api
- gh.api.tests
- gh.bootstrap