GraphPath next/previous
Tests for next/previous