Include tests for getConfigNames in stacked + line

There were no tests for LineGraph, so we have added some and tested its
functionality. The tests for StackedGraph were functionally fine but
their descriptions were a little confusing.