finish serialport test demo