Fixed an issue where AfterScenarioListener does not fire

* Fixed an issue where AfterScenarioListener does not fire
* Remove BeforeScenarioListener declaration in core.xml