Fix for SerialPort test in Test suite