fixed registration test.