Added tests for event and indexes creation