fix visitor test