Skip tests when encryption not available.
Closes #1