Fix test deps: remove (unused) mockito dependency

The (unused) mockito dependency brings hamcrest-core 1.1, which
breaks tests with jenkins-test-harness 1.532 (hamcrest 1.3).