testsuite: Add test for #4210