updated tests for inputlookup and outputlookup