Unit testing for analyzer matches

ElasticSearch's Java API allows the writing of automated tests to check whether a string is being analyzed properly. As we discussed in README, this is very useful to make sure we're not renouncing to relevance or being too strict, as well as diagnosing problems such as synonym overlapping