JBDeviceOwner, PhotoString, test fixes