Added unit test for rio_crypto class.