Fixing BufferedUartStream tests. Optimising BufferedUartStream memory needs.