test serial communication working