added visitor tests