added test graph and reset button