test serial loopback