Fix test warnings with new Rust.
Merge pull request #25 from metajack/check-up2

Fix test warnings with new Rust.