I've been studying EIP712 and tried to implement some testing using truffle and Web3js. However, I noticed that web3.eth.accounts.sign() is compliant with EIP191, therefore I cannot retrieve the signer address correctly by using ECDSA.recover from OZ repository.
In this respect, my question is: which alternatives can be used to develop some tests for this new cryptographic signature standard? I've noticed that Metamask has this method signTypedData_V4, which sticks to the current signature version of OZ draft. I would like to know if I can hash and sign by this standard without Metamask assistance.
Links to ECDSA and EIP712 (draft) contracts from OZ:
Thanks to all of you in advance.