Fix syntax errors in the test