testsuite: Add test for #14028