update speed_test.py to match new client