[test] Add test for ticket 10234