added regression test for reset method