Rewrote the `test_events_on_production_page_with_custom_heading()` test to support PHP 5.2.x.