Add unit tests for scalars.

Also add a secp256k1_scalar_is_one function.