Fix test incompatibilities with py35

This fixes 4 tests not handling bytes properly.

Change-Id: Ib35528af7da3e3eff17b0ce7995daaa263736748
Depends-On: Ifc249f36c8bb9718f4d4557acc9b0181e491b31b
4 files changed