Modified testgithubdiff for diff testing