fix test leaving changed file behind
Merge pull request #1330 from jakecraige/fix_test_changed_file

fix test leaving changed file