added a test for `reset`