add test for other docid, remove console.log