Fixed G*n for Fp = 263 and add unittest for curves

G*n still doesn't work for secp256k1