fixed test for epimorphism in mapGraphs