Adding a test case for the security policy.
(cherry picked from commit 857f436967e4269f877335e04029d75f1ccb235a)