duplicate registration test