Add test for RT #118387