Separated transformation class off from the unit test, initiated a graph object for collecting triples.