Security declarations tests