ecdsa: fix interval comment

Actual range as per the RFC is [1, q - 1], the code adheres to this.
ecdsa: adds test for detGenK loop