Ensure everything is tested on travis

`cargo test` does not test dependencies
Fix warnings
Merge pull request #280 from bjz/tests

Ensure everything is tested on travis