diff --git a/src/ping.rs b/src/ping.rs
index d4044f4..fa696d0 100644
--- a/src/ping.rs
+++ b/src/ping.rs
@@ -25,6 +25,13 @@ mod tests {
Ping::try_from(elem).unwrap();
}
+ #[test]
+ fn test_serialise() {
+ let elem1 = Element::from(Ping);
+ let elem2: Element = "".parse().unwrap();
+ assert_eq!(elem1, elem2);
+ }
+
#[test]
fn test_invalid() {
let elem: Element = "".parse().unwrap();