add test case for FILE

add minute test for writing and insert