Test [un]registering a