* Refactor graph * Add graph tests * Use CPUBuffer for graph tests * Remove the use of GlobalCounters