adding test case for security manager