Amended reset button test, fixed bug