Fix some python syntax typo
Add test for PingPong