Update keypair tests