tests mockito