Fixed tests for add_user. Implemented a test for attempting to log in as a non-confirmed user.
Refactored login_view to pass login_not_confirmed test.
Implemented tests for adding users with and without confirmation and verified that they appear in the correct tables.
Implemented and passing tests for add_user function.
Added test for regkey collisions. Test is passing.