Tweak event bus test so that named functions are not inlined.