Add more testing for errorsg