fixed bug in error.info and beefed up error.info tests