Test of security context usage