OK, I'll restore the commented out code in rustc, and add `mod test` to libtest, come back later. Though I don't know why we need do these special cases both in rustc and libtest. A simple `extern crate test` (in the current commit) just make it works (all tests passed). @alexcrichton @huonw