test deleting image