As I understand it we don't actually use much of the `test` crate. Given that it's also forked from rustc, perhaps we can drop that dep? Ideally we can do this for the rust-internal compiletest as well.