fixing failing testToAdjacencyList()

The number of lone electron pairs is not defined for groups, therefore
should not be printed for groups