Progress: string -> byte[]
PartitionState -> byte[]
tests fixed