fix syntax errors in test