#43 Enhance RSA tests and fix implementation (was broken)