added key gen test with sjcl