The new crypt tests cannot be run on macOS. Making them conditional for non-macOS platforms fixes running unit tests in the internal directory on macOS.
fixes #444