More code path test coverage

Added test coverage for untested code paths (mostly error handling) revealed by 'go tool cover'.
or just:

    nonces[string(nonce[:])] = struct{}{}

no particular need for hex encoding.