'serialPortTransmit()' open UART first time only

'serialPortTransmit()' open UART upon first call only. This test is
implemented in a separate binary because such a feature will typically
be implemented using a static variable and static variables remain set
during the runtime of a unit test suite.