Added more visitor tests for open element.