Add example to test ping call
Add missing semicolons