fix unit tests.
try turning on all tds tests to see what works