fixed the syntax error in test