Add unit test for BasicMongoDBDataSource
Refactoring
Refactoring + add null elements
Add test on limit values