Add User model tests.
Create endpoint integration test.