Fix unit test regressions on Python 3.
Review Request #10866 — Created Jan. 28, 2020 and submitted — Latest diff uploaded
We had a few unit tests that were mixing string types, causing failures
on Python 3. These are pretty basic mistakes that were limited to the
test cases. This change fixes those.
Unit tests pass on Python 2.7, 3.6, and 3.7.