test with nonce