added tests for File::write(is_insert == false)