Fix deviceTest
DeviceTest was crashing 1/5 times. I don't fully understand what happens, but I strongly suspect that it happends because the device was destroyed too early.
conversationInterface actually only uses the deviceId and getting rid of the device pointer seems to fix the test