remove Device.id and follow Spec.js