Fix tests when mcrypt extension is not loaded

Mcrypt is only marked as suggested so tests should pass with extension not loaded.