add gridlines to legend_basic
added semi-automated tests