Remove non-executed code from naive-visitor
Add test for path
Fix namespace error