Modified Private Key test so it doesn't stall on key generation