test for doing a lookup in the afterbindrow handler