add a script for xbee tests