Changes to addPlot tests