Fixed mcrypt test case