Basic test code for UART, GPIO and IRQ