Fix tests for undo adding last point commit.