Simplifying DeviceStore test, no logical change.