added reset button. and reset test case