Fix test.py script (can't iterate empty list)