testing for device id