TestPartitionMapToArrayCopy()