An attempt to reproduce #18070. That turned out to not be a bug, but the test is still a good one. Based on test695 Closes #18101