Added the mockito and hamcrest test dependencies.