LinkbackConsumerUtil: introduce tests to document current behavior [LPS-44580]

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