More test for file creation & add test for file content