Add getNext and getPrev to GraphObject
Added test for Graph limit, offset, next, prev