test the line plot