test for plot