Add unit tests
Refactoring + amend d93922b
[maven-release-plugin] prepare release algoliasearch-1.1.4