Migrated unit tests for components permissions to ComponentPermissionFacade