more debugging/testing framework for bridging over serial