finished tests for GraphService
added tests for attribute and entity