Add test for Trac #14232