fixing syntax errors in tests