Tests : File management correction
Error : Add check when memory allocation with malloc
        Create error module (and replace previous print)
Test script : Delete tests dir at the end