BackgroundDataProvider is now specified to call the listeners from the EDT.
Added tests for BackgroundDataProvider.