Add test for the cl4_device_info_name of the device module
Fix small warning in device module