test trust_device with a valid session