Adding the missing } for the device test