Add some error formatting tests

Thanks to them i discovered that the parser errors where indicating the wrong token ¬¬