Add test for File auto-close (#246)
Merge pull request #487 from andrewcollette/file_autoclose

Add test for File auto-close (#246)