Test for the deprecated event-handler config, see #2979