got registration test to work