Fixing test and handling missing git diff parse arg