fixed some bugs, started on RSA_Key class (in test)