Adding deregister tests