fix sos: protocol handling in tests