add real spec tests for the datacat_collector type

There's a weird hack I had to make to the collector to ensure the related file
has a catalog to resolve the resource back, which is only needed when spec
testing - I think I'm not created the resources correctly but single-stepping
in pry makes it look like resource.catalog is set by catalog.add_resource.