test case that makes sure sloppy phrase queries use the term distance to calculate the result ranking