testsuite: Add test for #13916