fdo#73113: Write unit test for LOOKUP.

Change-Id: I1486b6ba9604c97601df142a32b211ce0aec7f09