Do not mess up tests when events disabled