Move `extern crate test` to #[cfg(test)]
Merge pull request #41 from alexcrichton/cfg-test

Move `extern crate test` to #[cfg(test)]