Update flash messages class.
User model tests.