unit tests for user, model_user classes