fix subscribe unittest. use twisted trial unittest framework.