[tests] patch against error listener changes