Fix failing test in NewBarChartPanelTest

-TODO: Finish rewrite