flesh out dumping keys to file
use the hostname for the nodename in tests
it's better to fail noisly