Test output documents

Test output documents permissions final version.