read() isn't yet tested because it requires the readyRead signal.
Calling openConnection will return an open connection or nullptr. Deleting the connection will close it. SerialPort now uses this under the hood, while still presenting the QSerialPort-compatible interface.