test serial communication