Add tests to crypto helper
Support to Elixir 0.13.2