LPS-48745

Hey Brian,

This is the test for the same LPS, but @danielkocsis has adjusted some more on the code, uncovered by the test.

Thanks,

Máté