added test for delete image file