added unit tests for event profile