LPS-48181 Convert to unit test