Start testing visitor

Lots of bug fixes!
More tests!`