libcore,std,syntax,rustc: move tests into `mod tests`, make them private (no pub mod or pub fn).
libcore,std,syntax,rustc: move tests into `mod tests`, make them private (no pub mod or pub fn).

rust-lang/rand