Imports github.com/xenolf/lego/acme github.com/stretchr/testify/assert Standard library imports net/http/httptest bytes encoding/json fmt io io/ioutil net/http os testing time