Unit test for LDLT_alloc.