libslc: Initial versions of tests t1_malloc and t2_free