chg: added test for possible seg fault in factorization
Merge pull request #399 from mmklee/bug_fac

chg: added test for possible seg fault in factorization