delete button test works for pictures