Test RemoveCommit