Unittest, demo and CS improvements

Coding Style fix
md5 + MCRYPT_RIJNDAEL_256 demo
Enable buffering during the unittest