Adding visitor and test