Fixing ProcessPartitionExpVariableTest.
Cleanup of InstanceUtil.