add device type info to middleware update tests

update request.device_info with device type info.

update tests for that.