Test public key chain