Added rsa measures with unit unit tests