Update test for getDeviceId() change.