Test to directly build joined documents