Changed all the tests to use the new extern crate syntax
Added a slightly more descriptive error message