added another test for case when policy depends on additional labels