Fixed versions in maven pom.xml files.
Use Mockito.