Fixed ip and wait syntax in test.py