Fix tests to work with the current rust

&[T, ..n] doesn't coerce to &[T] anymore, so we get type errors because
&[u8, ..1] isn't equal to &[u8]. We need a temporary so we can provide
a type hint to enforce the coercion.
Merge pull request #38 from dotdash/rustup2

Fix tests to work with the current rust