add simple test for the registration disabled case