Updated RSA unit testing.