Add unit tests to handle duplicate user registration attempts
Turns out that two users can share the same email address