update unit tests for event