Issue #2254353 by sylus: Fixes for WxT Bean + Behat.