mock.reset instead of mock.clear