Rename unknown device to unmanaged
CHange unknowndevice to unmanaged into update script
Fix phpunits