If the plugin uses services/repositories from the application that loads the plugin, is there a way to do integration tests for this?