Testing registerDevice for Jamie.