Add `addRiskyTest` to listener implementation