interface of uart module testing