Merge "Add unit tests for the `requires_device_update` method" into main