add document
pause/resume works for simple scenario
pause/resume should work in all scenario