testing with mockito