Checks the scope of the method addDatasources
Creates the datasources property if it does not exist
Adds specs for the injection of datasources in components