Added unit tests for change event.