adding tests with mockito (which do not work)