Added handling of syntax errors in tests (so no tests were run)