Added a new test to assert behaviour of duplicate event definition.