[testing] fix new crash on builder error behaviour