Add cargo test

This could also take advantage of: http://doc.rust-lang.org/std/io/extensions/fn.u64_to_le_bytes.html