"resources/bad_too_long_plus_2.mrc");
MarcReader reader = new MarcPermissiveStreamReader(input, true, true);
//First record is the long one.
Record weird_record = reader.next();
//is it's marshal'd leader okay?
String strLeader = weird_record.getLeader().marshal();
// Make sure only five digits for length is used in the leader,
// even though it's not big enough to hold the leader, we need to
// make sure byte offsets in the rest of the leader are okay.
assertEquals("nas", strLeader.substring(5,8) );