Fixes bug with implementation which caused check to happen more often
than required. Noticed because failed on case where two nodes to find lca
for were same, so added new test to that effect. At same time noticed that
some test cases were for dags, not trees, so removed those as only pass by luck