test for #341 - this modifies the core ckan plugin, but there isn't an e...

...asy way to override it so I guess testing this way makes sense and we can later find out if we want to properly fix or patch core ckan plugin