add test for tickExport. also properly escape nested ticks.