#JC-1668 permissionmanager tests