    @Test
    public void testReadValidPackets() {

        String data = "00300123456789ABCDEF\tdevice\nFEDCBA9876543210\tdevice\n";
        String result = AdbMonitor.readPacket(toByteBuffer(data));
        Assert.assertEquals("0123456789ABCDEF\tdevice\nFEDCBA9876543210\tdevice\n", result);
    }