Test for syntax error in tests