add a writing file test
add a writing file test