I assume this test is failing now, because of the case where we're not passing false as needed above in Document?  If this test is _passing_ with the current code (and my comment above is correct), then there's a bug in this test that we need to fix too.