Basic inspecting_client and tests

collections.defaultdict could be nice here?