Adds spec for Nonce class