test class Graph was created