Personally, I'd don't *quite like* the style, but the failing test can be fixed with:

`$edges = $vertex[0]->getEdgesTo($vertex[1])->getVector()`