build with rust-nightly
fixed tests build
Merge pull request #27 from zonyitoo/master

Fixed build with rust-nightly