Added tests for doc_distance finder.