Imports github.com/elastic/beats/v7/libbeat/common/cleanup github.com/elastic/beats/v7/libbeat/statestore/backend github.com/stretchr/testify/assert Standard library imports errors flag fmt io/ioutil os testing