Adds test for the reset method