Add unit test for DeviceList class