added new test for creating the file