Add test for RT #118231