Fixes for TestPartitionLockQueue