Fix nf-lang tests that ignored non-syntax errors
Fix nf-lang tests that ignored non-syntax errors: a task in life-science-SWE1.0 (Harbor dataset). Title: Fix nf-lang tests that ignored non-syntax errors
The task
**Title:** Fix nf-lang tests that ignored non-syntax errors
Part of scalingX/life-science-SWE1.0.