Add automated testing for miners
We should add some kind of automated testing for the online miners.
One approach could be to use mitmproxy or a similar tool to record and replay interactions with the remote services, and verify that the expected data is created.