device_save test