Modified revwalk test to only call done once