create a test for the reset method