Array[Byte] <-> String conversions for tests