Adding tests for lookup_in_store fixes