Fix NewPrivateKey ECDSA parsing, and add test

The only common denominator of the failing tests was reading a ECDSA PrivateKey from a string.

Turns out the private D wasn't being read at all, due to a `:`. One more one-byte fix ;)

Closes #121