More test fixes; allow either mongocollection or tripod in getDocument