changed tests for serial port