Make tests compile with latest rust version.
Merge pull request #10 from Moredread/master

Make tests compile with latest rust version.