Basic unit tests for addPlot.