fixing sintax error in test