added wait_for to base.py and usage in test_my_list.py