Add setHistoric to Device
Add setHistoric tests