Fix gs_offloader and the unit test that didn't catch its bug.

The previous gs_offloader change had some (glaring) unit test
coverage holes, including one that missed that gs_offloader would
fail at startup every time.

BUG=chromium:232058
TEST=run the new unit test with and without the fix

Change-Id: Ic04933069f3fa079b3e9c5f4850ab43526739e70
Reviewed-on: https://chromium-review.googlesource.com/200300
Tested-by: Richard Barnette <jrbarnette@chromium.org>
Commit-Queue: Richard Barnette <jrbarnette@chromium.org>
Reviewed-by: Alex Miller <milleral@chromium.org>
2 files changed