Finished writing test for user registration.