Allow DetachedEdgeTest to work with graphs that don't support supplied ids.