SHL-136: Report syntax error location to the user

* Fix tests