add tests for all ecdsa functions