conform style for ecdsa and update tests