Added ApplyPolicy test cases