use twisted.trial's unittest