adding a test for #10830