graph tests added and passing