Update to add document API tests (8236).