Fixed mcrypt test cases