added tests for dto.user_model.