User model with tests