mockito is used but I'll move to testCompile, I'll delete the guava dependency