examples/serial: Bidirectional test