use mockito instead of manual mocks