Fix crazy mockito test