Test with non-zero key and nonce.