Revised error message in parser test