Update test_get_image_members.py

Refactored and added tests.