Added tests for the manual registration toggle