fixed test cases except 1: FAIL: test deleting a file
not sure why?