Update test_delete_members.py

Refactored "test_delete_member_from_image" to first create an image and add a member before deleting it.