graph-tests: add a test for trend line.