1. Create a policy in a hive service for database='testdb1'.
2. Ensure that no tag service is associated with this hive service.
3. Delete all policies from the hive service.
Although, a get call to fetch all policies in ranger does not return any policy for hive service, an api call <ranger_url>/service/public/v2/api/policies/hive/for-resource?resource:database='testdb1' returns deleted policies.