fix tests for renamed err.h and key.h

add tests for ed25519 and new-format keys

(this matches what is proposed for upstreaming)