PublicKey: Add test to verify that both uncompressed an compressed keys validatate. Fixes #665