added registration test