Fix unit test syntax error