Replaces IDs with tenant_name in filter list
Unit tests coverage for get_target_tenant_filter
Fixes tenant_name vs name confusion
Adds tests for the tenant filter feature