Test if last nodes is reachable from first node