Test curve is working but secp256k1 isn't