Added unit test for mem* functions.
Added unit test for mem* functions.

septag/bx,0-wiz-0/bx,septag/bx,mmicko/bx,0-wiz-0/bx,mmicko/bx,pigpigyyy/bx,pigpigyyy/bx,MikePopoloski/bx,bkaradzic/bx,attilaz/bx,coconutxin/bx,MikePopoloski/bx,fluffyfreak/bx,fluffyfreak/bx,bkaradzic/bx,coconutxin/bx,attilaz/bx