Add unittests for LEAU and LDU
bugfix for /debug/