Some fixes to ProcessPartitionExpVariableTest.