added test_stage0 registration flow