test/parser: Better message output