Minor fix, remove the svg at the end of the last legend test