test.test_periph_serial: fix loopback test.