Fix file creation tests
Merge pull request #2 from passy/fix-test

Fix file creation tests