TMDM-6008: "full text search return duplicate results"

Adds unit test to ensure correct behavior.