pub fn ser_deser_ok<V>(element: V, expected_bytes: &[u8])where V: TopEncode + TopDecode + PartialEq + Debug,
backwards compatibility only, will remove in next major release