Added tests (and event broadcast behaviour) to DataContext-service.