Tests for plotting.