some mockito tests