Adapt tests to Rust changes
Add Element::new()