Fix tests in splunk plugin