remove dependency on mockito