SearchResultUtil: introduce tests to document current behavior [LPS-44476]

[LPS-44476](https://issues.liferay.com/browse/LPS-44476)