mockito is a test dependency, fixes #4