Added tests to ensure we don't try to delete a file that doesn't exist