Merge "Test for issue #16013164: protect app ops setMode()."