test for adding file