upgraded td-client: 0.1.3 to 0.2.0
used mockito