Test to remove a file