update test on rebase
fixing PrivilegeRegistry init issues in test suite, fixing concurrency issue in PrivilegeType