Fixed test for nt register command