Fix some lint warnings of kind ``` style (variableScope): The scope of the variable '…' can be reduced ```
- test for UART driver in blocking mode - test for UART driver in interrupt driven mode