fix tests for syntax rename, properly report error