update mockito tests