Fixing bug for Partial Commit test