added unittest for symetric crypto