cleaned issue_patch test file and improved test