added visitor testing

Avoid using foul language in your code. Employers look at your code, you know.