Security manager: automatic test for security-manager-cmd