test for pubkeys