add debugging around keypair loading/generating to debug travis issue