test: Use `#[deriving(Hash)]` in a couple tests
std: add `Hash` to the prelude
rustc: rename `hash` to the proper name `state`