Fixed bug in test.py pingPong