[ADD] Added unit-test for create policy.