add test case for adding and removing files