added test for mongodb data source injection
added support for mongo data source component injection.