python: add script to test xmega communication protocol