Averages for graph. Fixes in number of tests and graph layout.