fix getPartitionInfo and addClonedPartitionInfo, need to fix a bunch of tests