Fixed the `testVisitClauseTypeSpecified` method