FLUID-5542: Fixed returning promises + unit tests

Fixed a bug where the promise wasn't being returned back by the queued dataSources request methods. Refactored the unit tests.