bug fix in lookup method based on cis iidentity, tests updated