Updated uartTest with custom parser to read from buffer instead of string