Refactored AnalysisCollectorPluginTest to use Configurators/BuildSettings.