testing the serial port