Add compound document integration test.