There are tests for on-click in graph-builder that are being called on an undefined legend.