rails application testing models and controllers.