test the rsa key