unittest for the biggest part of the user model. #3