Merge: test_tools fix: don't import analyze_dxp if no _thread module