Improved syntax tests

* Filter out commented lines in test samples files
* Better reports in case of failure