Test for registering device