[autotest] 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
DEPLOY=gs_offloader

Change-Id: Id960a667e0a753fea6a2d4f34cc2fac2e4824a8d
Reviewed-on: https://chromium-review.googlesource.com/200612
Tested-by: Richard Barnette <jrbarnette@chromium.org>
Reviewed-by: Simran Basi <sbasi@chromium.org>
Commit-Queue: Richard Barnette <jrbarnette@chromium.org>
2 files changed