Tests added for security settings api