Update test_delete_members.py

Refactored and added tests.