UT: redirect exception testing improved.