Fix unit tests on master due to the apiGet rename.

release-2.0.x renamed apiGet to api_get, but the new tests on master
weren't updated. This updates them to fix all tests.