Added unit tests for event mapping in Core module