Add missing test for added temp documents