Unit tests for model User.