Add test specifically for document publish idempotency
Add test specifically for document publish idempotency

nicolaasmatthijs/Hilary,jfederico/Hilary,stuartf/Hilary,simong/Hilary,ExC0d3/Hilary,ExC0d3/Hilary,simong/Hilary,timdegroote/Hilary,nicolaasmatthijs/Hilary,Orodan/Hilary,Orodan/Hilary,mrvisser/Hilary,mrvisser/Hilary,stuartf/Hilary,timdegroote/Hilary,jfederico/Hilary