Added max count of graph
Adding tests for the Simplification method.