Added test for GraphItemKey
Fixed bugs