Fix 8-bit unit tests to use unsigned values