Added unit test for the PermissionManagementBlock class