Test case for the user model.