Add test for extending stats graph.