add integration test for #10564