fixing syntax errors related to test refactor