Ensure files are closed in the tests
Merge pull request #10 from alex/patch-1

Ensure files are closed in the tests