added test for reset()