add a test.

add a test 'calling the lookup instance method with two registries, and
the first missing', and adjust the test sequence.