added utils and testing for docidsets