Added test code for wireless comms