test serial in linux