Add test for #8186
drwxr-xr-x - testsuite