tested visitor with exception