Tests fixes

Fixes PluginControllerTests and removes DataExportControllerTests.