Added document manager test