This test shouldn't leak any document when run w/ --enable-leak-detection