Feature/mongo 2.6.5 document source pipeline d

need test cases