rename client -> registry

because that's what it is right?
adds lookup method tests
[wip] update tests