Mcrypt Extension partial fix and test