remove loop test cases to syntaxTest