Fix doc manager test