Only link the testthr* module with test cases that use it.