patch for nonce2 in version field including test cases