fixed rsa tests