configurable context for _SecurityState; testing integration