Test coverage: last branch untested from PublicKey
Merge pull request #832 from eordano/fix/coverage/public

Test coverage: last branch untested from PublicKey