testing serial port communication