test usart with cpp templates