add examples/test_polling.py

waiting better testing, use this script to test across machines