Added test for when path cannot be found between two nodes.