Fix cargo test --doc
not testing examples
#2685
Merged
cargo test --doc
not testing examples
#2685