Fix renderer, add unit test for rendering in core-map
Throw an exception instead of a npe if neither datasource or rs provider is given