add test for user model, end 6 chapter