Added device.getInfo() validation