Fix to TDEM_bTests