test(graphs.graph) Adds tests for showTooltip