improved error line conversion; new express tests