AME-4645 CR-4680 Remove duplicate and unused subject and environment conditions and update unit tests accordingly.
AME-4774 CR-4676 Introduce IPrivilegeManager interface
Moving the tests