Added unit tests to reset event