I am not really concerned about the glob or map insert getting broken.  The main thing about this code is to instantiate a plugin in a running Heka (and from a unit test perspective that would be a mocked out call saying yeah it worked which doesn't buy us a lot).  Ideally we would have automated testing against a Heka instance.  Flood+ setting up and tearing down inputs, rolling log files, starting and stopping sandboxes etc...