fix byte-strings in tests