testsuite: Add testcase for #13615