Test: Added usage of index in graph speed tests