Testing MongoDB Aggregation Framework