Update test_post_image_members.py

Refactored "test_add_member_to_image" by creating an image before adding a member to the image.