Wrote MaterialPackageManager.update_from_repository() tests.