test (legend.spec.js) adding tests for show/hide using data tags