Fix syntax error in test case