test: for #10317

This PR adds tests for issue that has been fixed by previous commits.

closes #10317
1 file changed