Added tests for getting a Provider or IterableProvider from getService