Issue #9 - nonce property replaced by method and test added