PublicKey: Add test to verify that both uncompressed an compressed keys validate.

This throws a linter error, don't use object creation for side effects